package com.bobby.dao;

import com.bobby.pojo.User;

import java.sql.SQLException;

/**
 * @Description TODO
 * @Date 2020/8/13 10:04
 * @Created wenjunpei
 */
public interface UserDao {



    User queryUserByUsername(String username) throws SQLException;
    User queryUserByUsernameAndPassword(String username , String password) throws SQLException;
    int saveUser(User user) throws SQLException;
}
